Fix dead SKILL.md path in test 23; add npm skill file guardrails (section 24) - #1
Draft
ProjectAI00 with Copilot wants to merge 2 commits into
Draft
Fix dead SKILL.md path in test 23; add npm skill file guardrails (section 24)#1ProjectAI00 with Copilot wants to merge 2 commits into
ProjectAI00 with Copilot wants to merge 2 commits into
Conversation
Co-authored-by: ProjectAI00 <174952601+ProjectAI00@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add guardrails to prevent dead code drift
Fix dead SKILL.md path in test 23; add npm skill file guardrails (section 24)
Mar 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Section 23 of
tests/integration.shwas silently failing becauseSKILL_SRCpointed toskills/imi/SKILL.md— a path that doesn't exist. The actual file lives atnpm/skills/imi/SKILL.md. This is exactly the kind of dead-asset drift the codebase should guard against.Changes
Fix
SKILL_SRCpath in section 23 — corrects the reference fromskills/imi/SKILL.mdtonpm/skills/imi/SKILL.md, making the existing frontmatter and install-simulation checks functional again.Add section 24: dead asset guardrails — loops over all six runtime-critical npm skill distribution files and fails immediately if any is missing:
Any accidental deletion or rename of these files now surfaces immediately on
make test.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/ProjectAI00/ai-db-imi/releases/latest/usr/bin/curl curl -s --max-time 5 -H Accept: application/vnd.github.v3+json -H User-Agent: imi-cli REDACTED /home/REDACTED/work/ai-db-imi/ai-db-imi/target/release/deps/clap_derive-3a97accb5716ee�� /home/REDACTED/work/ai-db-imi/ai-db-imi/target/release/deps/clap_derive-3a97accb5716eef6.clap_derive.4aebc065d375203f-cgu.13.rcgu.o /home/REDACTED/work/ai-db-imi/ai-db-imi/target/release/deps/clap_derive-3a97accb5716eef6.clap_derive.4aebc065d375203f-cgu.14.rcgu.o(http block)/usr/bin/curl curl -s --max-time 5 -H Accept: application/vnd.github.v3+json -H User-Agent: imi-cli REDACTED 39025a3fc5b904.b-s id_mmbuu8lk0doc ease/imi ent"�� stable-x86_64-unPOST stable-x86_64-un-H rm":"linux-x86_64","duration_ms":4,"is_ci":true,"interactive":false,"install_id":"iid_mmbuu8lk0 stable-x86_64-uncurl stable-x86_64-un-s "iid_mmbuu8lk0d stable-x86_64-un/dev/null(http block)/usr/bin/curl curl -s --max-time 5 -H Accept: application/vnd.github.v3+json -H User-Agent: imi-cli REDACTED -H id_mmbuuytfl2ls curl ent"�� -o /dev/null :"linux-x86_64","duration_ms":1,"is_ci":true,"interactive":false,"install_id":"iid_mmbuuytfl2ls POST -H "iid_mmbuuytfl2 tr(http block)us.i.posthog.com/usr/bin/curl curl -s -o /dev/null -X POST -H Content-Type: application/json -d {"api_key":"phc_exyd1ppU0ZS7McQ1ay1gxvCaUI2QfYPuMCTk4kawVKF","event":"imi_init","distinct_id":"uid_mmbuu8lmkyo4lkvj","properties":{"version":"0.3.19","platform":"linux-x86_64","duration_ms":32,"is_ci":true,"interactive":false,"install_id":"iid_mmbuu8lk0do -C metadata=c54173db44b2d719(dns block)/usr/bin/curl curl -s -o /dev/null -X POST -H Content-Type: application/json -d {"api_key":"phc_exyd1ppU0ZS7McQ1ay1gxvCaUI2QfYPuMCTk4kawVKF","event":"imi_init","distinct_id":"uid_mmbuu8lmkyo4lkvj","properties":{"version":"0.3.19","platform":"linux-x86_64","duration_ms":2,"is_ci":true,"interactive":false,"install_id":"iid_mmbuu8lk0doc(dns block)/usr/bin/curl curl -s -o /dev/null -X POST -H Content-Type: application/json -d {"api_key":"phc_exyd1ppU0ZS7McQ1ay1gxvCaUI2QfYPuMCTk4kawVKF","event":"imi_goal","distinct_id":"uid_mmbuu8lmkyo4lkvj","properties":{"version":"0.3.19","platform":"linux-x86_64","duration_ms":4,"is_ci":true,"interactive":false,"install_id":"iid_mmbuu8lk0doc(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.